﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneMile.Entity.Model
{
    public class EOrder:BaseEntity
    {
        public Guid OrderId { get; set; }
        public Guid UserId { get; set; }
        public Guid ShopId{get;set;}
        /// <summary>
        /// 促销
        /// </summary>
        public Guid PromotionsId { get; set; }
        /// <summary>
        /// 优惠券
        /// </summary>
        public Guid CouponId { get; set; }
        public String OrderAddress { get; set; }
        public String OrderMobile { get; set; }
        public String OrderRemarks { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public Decimal Freight { get; set; }
        public Decimal TotalPrice { get; set; }
        public String OrderName{ get; set; }
        /// <summary>
        /// 最早送货时间
        /// </summary>
        public DateTime EarliestTime { get; set; }
        /// <summary>
        /// 最晚送货时间
        /// </summary>
        public DateTime LatestTime { get; set; }

        public Int32 OrderType { get; set; }

        public Int32 OrderNumber { get; set; }

        public IList<EOrderDetails> OrderDetailsList { get; set;}


    }
}
